﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" xmlns:mstns="http://tempuri.org/nwindDataSet.xsd" id="ReportsIDebitos" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection ConnectionStringObject="Data Source=PC-ALONGO2\SQLEXPRESS;Initial Catalog=reports;Integrated Security=True" IsAppSettingsProperty="false" Modifier="Assembly" ParameterPrefix="@" Provider="System.Data.SqlClient" Name="Connection" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="reportsAdapter" Name="reports" UserDataComponentName="reportsAdapter">
            <MainSource>
              <DbSource ConnectionRef="Connection" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Nr, Nome, Vendedor, COSEC, CI, Valor, NVENC, D30, D45, D60, D90, D120, DN, DiaValor, MDA, Cobert, NCobert, Pagamento FROM dbo.reports</CommandText>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Nr" DataSetColumn="Nr" />
              <Mapping SourceColumn="Nome" DataSetColumn="Nome" />
              <Mapping SourceColumn="Vendedor" DataSetColumn="Vendedor" />
              <Mapping SourceColumn="COSEC" DataSetColumn="COSEC" />
              <Mapping SourceColumn="CI" DataSetColumn="CI" />
              <Mapping SourceColumn="Valor" DataSetColumn="Valor" />
              <Mapping SourceColumn="NVENC" DataSetColumn="NVENC" />
              <Mapping SourceColumn="D30" DataSetColumn="D30" />
              <Mapping SourceColumn="D45" DataSetColumn="D45" />
              <Mapping SourceColumn="D60" DataSetColumn="D60" />
              <Mapping SourceColumn="D90" DataSetColumn="D90" />
              <Mapping SourceColumn="D120" DataSetColumn="D120" />
              <Mapping SourceColumn="DN" DataSetColumn="DN" />
              <Mapping SourceColumn="DiaValor" DataSetColumn="DiaValor" />
              <Mapping SourceColumn="MDA" DataSetColumn="MDA" />
              <Mapping SourceColumn="Cobert" DataSetColumn="Cobert" />
              <Mapping SourceColumn="NCobert" DataSetColumn="NCobert" />
              <Mapping SourceColumn="Pagamento" DataSetColumn="Pagamento" />
            </Mappings>
          </TableAdapter>
        </Tables>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ReportsIDebitos" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="reports">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Nr" msdata:ReadOnly="true" msdata:AutoIncrement="true" type="xs:int" />
              <xs:element name="Nome" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Vendedor" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="COSEC" type="xs:long" minOccurs="0" />
              <xs:element name="CI" type="xs:long" minOccurs="0" />
              <xs:element name="Valor" type="xs:long" minOccurs="0" />
              <xs:element name="NVENC" type="xs:long" minOccurs="0" />
              <xs:element name="D30" type="xs:long" minOccurs="0" />
              <xs:element name="D45" type="xs:long" minOccurs="0" />
              <xs:element name="D60" type="xs:long" minOccurs="0" />
              <xs:element name="D90" type="xs:long" minOccurs="0" />
              <xs:element name="D120" type="xs:long" minOccurs="0" />
              <xs:element name="DN" type="xs:long" minOccurs="0" />
              <xs:element name="DiaValor" type="xs:long" minOccurs="0" />
              <xs:element name="MDA" type="xs:long" minOccurs="0" />
              <xs:element name="Cobert" type="xs:long" minOccurs="0" />
              <xs:element name="NCobert" type="xs:long" minOccurs="0" />
              <xs:element name="Pagamento" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//reports" />
      <xs:field xpath="Nr" />
    </xs:unique>
  </xs:element>
</xs:schema>